'''
:discription: user defined err just user "raise UserDefinedError(message)"
'''
import test_log
class BaseException(Exception):
    pass

class UserDefinedError(BaseException):
    def __init__(self,msg):
        self.err_msg = msg

if __name__ == '__main__':
    raise UserDefinedError("someting worng")